import 'package:flutter/material.dart';

main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: "qq",
      home: Scaffold(
        appBar: AppBar(
          title: Text("11"),
        ),
        body: HomeWidget(),
      ),
    );
  }
}

class HomeWidget extends Widget {
  @override
  Element createElement() {
    // TODO: implement createElement
    return HomeElement(this);
  }
}

class HomeElement extends ComponentElement {
  HomeElement(Widget widget) : super(widget);

  @override
  Widget build() {
    // TODO: implement build
    return Text("aaa");
  }
}
